<template>
  <div>
    <Table :tableData="tableData"></Table>
  </div>
</template>

<script>
import  {myBorrow}  from '@/api/clue/clue-all';
import Table from '../components/Table';
export default {
  name: 'BorrowMine',
  components: { Table },
    data() {
    return {
     staffId:0,
     state:1
    };
  },
    created() {
    this.myBorrow();
  },
    methods: {
    handleClick(){

    },
        async myBorrow() {
      this.loading = true;
      const { data: res } = await myBorrow(
        this.staffId,
        this.state,
      );
      this.total = res.data.total;
      console.log('api=我的提借单', res);
      this.tableData = res.data;
    },
  }
};
</script>

<style scoped>

</style>
